<%@ page language="java" pageEncoding="utf-8"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    
    <title>AddMaterial1.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
${requestScope.message}
  </head>
  
  <body>
   <%@ include file="header.jsp"%>

<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="120" valign="top" background="../images/in_left_bg.gif"><%@ include file="produceLeft.jsp"%></td>
    <td width="660" align="center">
	<p align="center" class="title1">添加需求订单管理档案</p>
	 <form name="form1" method="post" action="addRequest.do" onsubmit="return check_input(this)">
	<table width="640" height="513" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
      <tr>
        <td width="103" height="33"><div align="right"> 单号:</div></td>
        <td width="176"><input name="id" type="text"  class="data" id="employeeid" size="6" maxlength="6" onkeyup="value=value.replace(/[^\d]/g,'')">
      </td>
        <td width="78" height="33"><div align="right">物料编号:</div></td>
        <td width="249"><input name="maCode" type="text"  class="data" id="username" size="8" maxlength="4" >
  </td>
      </tr>
      <tr>
          <td height="33"><div align="right"> 下单日期: </div></td>
        <td><input name="makeDate" type="text"  class="data" id="birthday"  size="10" maxlength="18" value="yyyy-mm-dd" onfocus="if(value=='yyyy-mm-dd'){value=''}" ></td>
         <td width="78" height="33"><div align="right">物料名称:</div></td>
        <td width="249"><input name="maName" type="text"  class="data" id="username" size="8" maxlength="4" > <br></td>
      </tr>
      <tr>
        <td height="33"><div align="right"> 完成日期: </div></td>
        <td><input name="finishDate" type="text"  class="data" id="birthday" value="yyyy-mm-dd" size="10" maxlength="18" onfocus="if(value=='yyyy-mm-dd'){value=''}"  ></td>
        <td><div align="right">物料数量: </div></td>
        <td><input name="maNum" type="text"  class="data" id="nativeplace" size="10" maxlength="10" > <br></td>
      </tr>
      
      
        <tr>
           <td height="33"><div align="right"> 入库编号: </div></td>
           <td><input name="storeCode" type="text"/></td>
            <td><div align="right">部门编号:</div></td>
           <td><input type="text" name="departId" size="10" maxlength="10"/>
             </select>
           </td>    
           </tr>
      <tr>
        <td height="33"><div align="right"> 备注: </div></td>
        <td colspan="3"><textarea name="other" cols="60" rows="4" id="resume"></textarea></td>
        </tr>
      <tr>
        <td height="49" colspan="4"><div align="center">
          <input type="submit" name="Submit" value="添加">
          <input type="reset" name="Submit2" value="取消">
        </div></td>
      </tr>
    </table>
	
	</form>    
    </td>
  </tr>
</table>
<%@ include file="footer.jsp"%>
<script language="JavaScript" type="text/JavaScript">
	Calendar.setup(
	{
      inputField  : "birthday",         // ID of the input field
      ifFormat    : "%Y-%m-%d",    // the date format
      button      : "bir"       // ID of the button
    }
	);	
	Calendar.setup(
	{
      inputField  : "graduatedate",         // ID of the input field
      ifFormat    : "%Y-%m-%d",    // the date format
      button      : "graduate"       // ID of the button
    }
	);		
</script>
  </body>
</html:html>
